package org.gp.core.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author LuoLiang
 * @since 2017-02-06
 */
@TableName("activity_user_relation")
@Data
public class ActivityUserRelation extends Model<ActivityUserRelation> {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Integer id;

    /**
     *
     */
    @TableField(value = "activity_id")
    private Integer activityId;

    /**
     *
     */
    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "introduce")
    private String introduce;

    @TableField(value = "phone")
    private String phone;


    @Override
    protected Serializable pkVal() {
        return id;
    }
}
